package com.wash.shoes.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.wash.shoes.domain.dto.RegionDistributorDto;
import com.wash.shoes.domain.vo.RegionDistributorVo;
import com.wash.shoes.entity.RegionDistributorPo;
import com.baomidou.mybatisplus.extension.service.IService;

/**
* @author jianguoli
* @description 针对表【os_region_distributor(分销商,按照区域分销)】的数据库操作Service
* @createDate 2025-03-10 14:47:55
*/
public interface RegionDistributorService extends IService<RegionDistributorPo> {

    /**
     *
     * @param regionDistributorDto
     * @return 分页查询数据
     */
    Page<RegionDistributorVo> pageList(RegionDistributorDto regionDistributorDto);

    /**
     *
     * @param userId
     * @return 查询用户
     */
    RegionDistributorPo getByUserId(String userId);
}
